package com.ssy.lingxi.contract.model.vo.coordination.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 合同协同审核接口参数VO
 * @author 伍将
 * @date 2021/2/8
 * @version 2.0.0
 */
public class ContractCoordinationExamineVO implements Serializable {
    private static final long serialVersionUID = -6324633654599933332L;

    /**
     * 合同id
     */
    @NotNull(message = "合同id需大于0")
    @Positive(message = "合同id需大于0")
    private Long contractId;

    /**
     * 是否通过：0-否，1-是
     */
    @NotNull(message = "是否通过不能为空")
    private Integer isPass;

    /**
     * 合同文件
     */
    private String contractUrl;

    /**
     * 审核意见
     */
    private String opinion;

    public Long getContractId() {
        return contractId;
    }

    public void setContractId(Long contractId) {
        this.contractId = contractId;
    }

    public Integer getIsPass() {
        return isPass;
    }

    public void setIsPass(Integer isPass) {
        this.isPass = isPass;
    }

    public String getContractUrl() {
        return contractUrl;
    }

    public void setContractUrl(String contractUrl) {
        this.contractUrl = contractUrl;
    }

    public String getOpinion() {
        return opinion;
    }

    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }
}
